#!/bin/bash
ROOT_ID=0

if [ $UID != $ROOT_ID ]; then
	echo "Must have root privelege to run this script"
	exit 1
fi

if [ ! -e /usr/lib/crb ]; then
	mkdir /usr/lib/crb
fi

cp crb.rb /usr/lib/crb/crb.rb
cp crb /usr/bin/crb
